<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:p="http://primefaces.org/ui"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets">
<h:head>
</h:head>
<h:body>	
<!-- 	<f:loadBundle basename="kategori_en" var="ktg"/> -->
	<h:form>
		<h1><h:outputText value="#{msg.mesaj1}" /> </h1>
		<p:panelGrid columns="2">
		<p:outputLabel for="ustkategori" value="#{ktg.lbl_ust_kategori}"/>
		<p:selectOneMenu id="ustkategori" value="#{kategoriEkleBean.ustKategori}" effect="fold">
            <f:selectItem itemLabel="Select One" itemValue="" />
            <f:selectItems value="#{kategoriEkleBean.parentList}"/>
        </p:selectOneMenu>
        <p:outputLabel for="kategoriad" value="#{ktg.lbl_kategori_ad}"/>
        <p:inputText id="kategoriad" value="#{kategoriEkleBean.kategoriAd}"/>
        <p:outputLabel for="kategorisira" VALUE="#{KTG.LBL_KATEGORI_SIRA}"/>
        <p:inputText id="kategorisira" value="#{kategoriEkleBean.kategoriSira}"/>
        </p:panelGrid>
        <p:commandButton value="#{ktg.btn_tamam}" action="#{kategoriEkleBean.addKategori()}"/>
	</h:form>
</h:body>
</html>
